<template>
    <div>
        <van-swipe :autoplay="3000">
            <van-swipe-item v-for="(image, index) in data.options.options" :key="index">
                <img style="width: 100%;" :src="image.src" >
            </van-swipe-item>
        </van-swipe>
    </div>
</template>
<script>
import { Swipe, SwipeItem } from 'vant'
export default {
    name: 'FormSelect',
    components: {
        [Swipe.name]: Swipe,
        [SwipeItem.name]: SwipeItem
    },
    props: {
        data: {
            type: Object
        }
    }
}
</script>
